LogOn v2
Description
Create a new session. This is how you "log on" to the StoneX API.
Service Info
target | session |
uriTemplate | /v2/Session |
transport | POST |
envelope | JSON |
contentType | application/json |
Parameters
Name | Type | Description |
---|---|---|
apiLogOnRequest | ApiLogOnRequestDTO |
The request to create a session (log on). |
Return Value
Example
The following request to the Live StoneX API environment logs in to your account using the example credentials of Username as "DM123456" and password as "openthedoor".
The AppKey required to use the StoneX API is sent to you once you have returned the signed terms and conditions of the StoneX API to our Partnerships team:
(PartnershipServices[at]cityindex.com).
POST https://ciapi.cityindex.com/v2/Session
Post Request Body
{"Password":"openthedoor",
"UserName":"DM123456",
"AppKey":"ABC"
}
A successful request results in an HTTP 200 code in the response header, and the response body is the ApiLogOnResponseDTO v2 in JSON format.
Last updated: 23 July 2024
![]() |
Copyright © 2024 StoneX